home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / numblks.z / numblks
Encoding:
Text File  |  1998-10-30  |  1.7 KB  |  41 lines

  1. NUMBLKS(3F)                                            Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      NNUUMMBBLLKKSS - Returns the current size of a file in 4096-byte blocks
  6.  
  7. SSYYNNOOPPSSIISS
  8.      IINNTTEEGGEERR NNUUMMBBLLKKSS
  9.      _v_a_l == NNUUMMBBLLKKSS((_u_n_i_t)
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      This routine is supported on IRIX systems for programs compiled with
  16.      the MIPSpro 7 Fortran 90 compiler or compiled with the --ccrraayylliibbss
  17.      option to the MIPSpro 7.2 F77 compiler.
  18.  
  19.      NNUUMMBBLLKKSS returns the current size of a file.
  20.  
  21.      When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
  22.      UNICOS, UNICOS/mk, or IRIX, the argument must be type integer with
  23.      default KKIINNDD, and the function must be type integer with KKIINNDD==88.
  24.  
  25.      The following is a list of arguments for this routine.
  26.  
  27.      _v_a_l       File size in 4096-byte blocks.  This returned value reflects
  28.                only the data actually written to disk and does not take
  29.                into account data still in the buffers.  A value of 0 is
  30.                returned if the file is a pipe or character special device.
  31.                A negative value indicates that _u_n_i_t is not connected or a
  32.                system operation failed unexpectedly.
  33.  
  34.      _u_n_i_t      An integer variable, expression, or constant containing a
  35.                Fortran unit number.
  36.  
  37. SSEEEE AALLSSOO
  38.      _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-
  39.      2165, for the printed version of this man page.
  40.  
  41.